/**
 * Copyright:Copyright(c)2014-2015
 * Company:厦门市易致达物联网科技有限公司
 * @version 1.0
 */
package shop.services.manage.news.impl;

import shop.core.ServicesManager;
import shop.services.manage.news.NewsService;
import shop.services.manage.news.bean.News;
import shop.services.manage.news.dao.NewsDao;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;


/**   
 * @类名称：NewsServiceImpl      
 * @创建人：Ltz   
 * @创建时间：2017-09-20 下午15:47:58        
 * @版本号：1.0
 * @描述：     
 */
@Service("newsServiceManage")
public class NewsServiceImpl extends ServicesManager<News, NewsDao> implements
NewsService {
    @Resource(name = "newsDaoManage")
    @Override
    public void setDao(NewsDao newsDao) {
    this.dao = newsDao;
    }

    @Override
    public int deleteById(int id) {
        return dao.deleteById(id);
    }
}

